package com.wj.dubbo.service.welfareshop.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**   
 * 类名称：Order
 * 类描述 ：
 * 创建人: Administrator  
 * 创建时间：2017-5-10 下午3:30:47  
 * 修改人：
 * 修改时间：
 * 修改备注：
 * 版本： V1.0
 */
@Document(indexName = "test_es_order_index", type = "test_es_order_type")
public class Order {
	@Id
    private String id;
	
    private String userName;
    
    private String skuName;

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", skuName='" + skuName + '\'' +
                '}';
    }
}
